home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 December / DPPCPRO1205.ISO / Essentials / Programming / WinMerge / WinMerge-2.2.0-Setup.exe / {app} / Docs / Plugins.txt next >
Encoding:
Text File  |  2004-06-21  |  2.8 KB  |  81 lines

  1. ============
  2. editor addin        
  3. ============
  4. Event : EDITOR_SCRIPT
  5. Add two functions to the context menu : MakeUpper and MakeLower.
  6. Use : Select a piece of text, right-click and select one function.
  7.  
  8. ===============
  9. insert datetime
  10. ===============
  11. Event : EDITOR_SCRIPT
  12. Add two functions to the context menu : InsertDate and InsertTime.
  13. Use : Put the cursor where you want the date/time to be inserted, right-click and select one function.
  14.  
  15. =========
  16. UnpackDFM 
  17. =========
  18. Event : PACK_UNPACK
  19. A plugin for WinMerge which allows WinMerge to compare and merge Delphi's binary dfm files.
  20.  
  21. The plugin does nothing if it is passed a text-based dfm file. In this case, WinMerge will handle the 
  22. comparison as normal.
  23.  
  24. Written in and for Borland Delphi 4 - because all dfm files are binary for this version of the compiler.
  25.  
  26. Requires the runtime library vcl40.bpl (in C:/windows/system32), which is part of the Delphi 4 setup. 
  27. This is deliberate - I have no way to test the plugin on binary dfm files generated by higher versions 
  28. of Delphi. If you want to usethis plugin for DFM files from >Delphi 4, I'd recommend recompiling it first.
  29.  
  30. =============
  31. IgnoreColumns
  32. =============
  33. Event : PREDIFF
  34. Ignore the characters at specified columns 
  35. Does not support files with tabulations (no crash, but all tabs will be treated as a normal character)
  36. First column has number 1.
  37.  
  38. For the parameters, you just need to rename the dll.
  39.  
  40. Syntax :
  41. - delimiters between ranges : _ or ,
  42. - delimiters between min and max : anything else
  43. - min and max are included
  44. - when max = min, max may be omitted
  45.  
  46. Examples :
  47. IgnoreColumns _ 3 _ 10 - 20 _ 32 - 33.dll
  48. = ignore all characters at column 3, and in columns 10 to 20, and 32 to 33
  49. IgnoreColumns_1,30 to 40.dll
  50. = ignore all the characters in column 1, and in columns 30 to 40
  51.  
  52. =================
  53. IgnoreFieldsComma
  54. =================
  55. Event : PREDIFF
  56. For files with fields, comma as delimiters. For example, format csv.
  57. Ignore the characters in the specified fields.
  58. First field has number 1.
  59.  
  60. Modify the filename to specify the columns. See IgnoreColumn for the syntax.
  61.  
  62. ===============
  63. IgnoreFieldsTab
  64. ===============
  65. Event : PREDIFF
  66. For files with fields, tabulations as delimiters. For example, excel files saved in format .txt.
  67. Ignore the characters in the specified fields.
  68. First field has number 1.
  69.  
  70. Modify the filename to specify the columns. See IgnoreColumn for the syntax.
  71.  
  72. ==================
  73. DisplayBinaryFiles
  74. ==================
  75. Event : PACK_UNPACK
  76. To display the differences between two binary files.
  77. It is not an hexa editor, just a simple compare like with Windiff. This can help for detecting changed 
  78. strings in binaries.
  79.  
  80. Note : replaces all 0 with 0x20 (spaces). This is a lossy operation. Files can be only diffed, not merged. 
  81.